package com.qf.main.pharmacy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.main.pharmacy.entity.PharmacyInventory;
import org.apache.ibatis.annotations.Param;

/**
 * @author chengqiang
 * @Create 2024-03-03-18:50
 * @Description:
 */
public interface PharmacyInventoryMapper extends BaseMapper<PharmacyInventory> {
    int increaseStockQuantity(@Param("pharmacyId") int pharmacyId, @Param("quantity") int quantity);

    int increaseClaimQuantity(@Param("pharmacyId") int pharmacyId, @Param("quantity") int quantity);
}
